package com.qiu.config;

import com.qiu.util.general.PropertiesUtil;
import lombok.Data;
import org.springframework.stereotype.Component;

@Data
@Component
public class AlipayConfig {
	// 沙箱appId
	public static String APPID = "2021000117660597";
	// 私钥 pkcs8格式的
	public static String RSA_PRIVATE_KEY = "MIIEvAIBADANBgkqhkiG9w0BAQEFAASCBKYwggSiAgEAAoIBAQCeflvkIo8bC5mht0urCP+68AoXcM9pyHJUMpaS2T3DoG1UXL9FkACw2jxompC37hYX7qS9GCARFd3cINA0siQ+s1HvoPNLg8bFmlp5+jc+MOEhaMzpGDNnnTX1VrAoh1lqBqXsF3fBGKSnmS4BNn9+QcB66EjrMCFM96qjdGsL9qNfKl9pBCI83HU9+aZ/5Rbu+DHTNPajV/EHYWSbE9Mt/uTo57ENFsYy9GyqOFdIvATda/DC6ccqbE1CDWllWojGIRVXpLa5CgnZjj3vo6V46ffyoyYRLE/zRtWRKME+zYnbfDl+L2Pahct5JyVY/l5ANOUDBh2YSyZM1dLHMWXBAgMBAAECggEAUer7cbmO/6qKOHR1jqwzCRriDGWJPqKUvQH8o1/XNZJoj670SW75fG7/xA0HeZl8H9h/myCqCkqkBg+LrYDZjPLACbvFpCUzCpUR6HO0M9ettMfnCR8yCn7OEcVBfWEfjNZs0c77XXlwORPKHGRflxFC/AOtFKomvBJSRvN4FJEOltMLDP+DOP0P4jfbH2hGjbGno39URTABu0+o7cCMF6T0ylMKUwoXxcwhmfA8LeWvjMIe2Xf0qx/tramiWex4QrfPwOsPKug4T3hZs/s5nYRsv/V2YMsC0pNX11X10Y+ZAJNgqCRjIaepabS6HmPEN4fiufvGpYbytxQGxBjtBQKBgQDmhP+vEYyIw1/nHYR0HxGZpRgagk0he+GRYKsvqYRlVKmByT8Ef7+XM6Im4VYkgpzmF5WeHxQFAyp6nHscCk2fbm9zDU+gSf7dgSJYeYmqEf6WMH4JatYNKC0dOsYrO5y0nerYymHTJZ79lipJJGOSRgnh6y38PjTXus4tH1bkRwKBgQCwAz7M+D6D1U9LHl3F6LHEe1aq/68Rpi/UytG2/gypD8dHD12qxoS+Eme32gaKygmVyYUv2vJgz3C8D2BJHJKgoQpN36CgKCw2rdU7wnEYLvhNrMFXR66exeJq61zi6FPnWtfjh10c8DkbQGBfexh9q5U3ub2B69EP3U5R3PiRtwKBgEx1Jn0BnBQsgR2d67W8LFFCsejw+PY3KYzXfE/1sMUPPJ2gizdJy9kxtgGhUboQXEvw3J4yfqhe8XLzfd3CCRbtQSfu7U8j29XKJAMmZKO1DjTwZo1nExIQFk6QlPP39LTvf9ph3epzmvVPHj1eRWxZsKNvJrR4SXyYKBRNRbu3AoGARWgSNJtTc4MC8Jk52xfmOZd1VpraezgwNlYAGovVjDkXmNLbWcNMhvMVCS+lUsdWvkUoCvXoi/pg9xeNHWdx/ntiZ9DeMymEPc+QfS8wj5u9+Es+Nl+i4SMhJI5JI4T/yQROi39OXWHw8ukQ17Xfs3acscvBieDmoL3g63EaZ8MCgYALDE4U9sin52srMCp5KH7bn8IkK+4DrJ8V4HmCYxCYBzSPKImZTr3p8jzwK3nGxRrbmk4g562d2CyQjoEIlTq02+Bo/QIgqYs1pIPtfYKMuFv3FBr5vkegY8ip7HsElmB+my++vXuJsuRqPROWOfgYvFtYtS/Iat84HKh0fQckDA==";
	// 请求网关  固定
	public static String URL = "https://openapi.alipaydev.com/gateway.do";
	//异步通知地址
	public static String notify_url = "http://"+PropertiesUtil.getServerHost() +":"+PropertiesUtil.getPort()+"/alipay/payNotify";
	//同步地址
	public static String return_url = "http://"+PropertiesUtil.getServerHost() +":"+PropertiesUtil.getPort()+"/alipay/paySuccess";
	// 编码
	public static String CHARSET = "UTF-8";
	// 返回格式
	public static String FORMAT = "json";

	// 沙箱支付宝公钥
	public static String ALIPAY_PUBLIC_KEY = "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAm8tdMz2PKNkPTZQUXNGeXohxQN6lES2d7hRlDGfcnt/J9qkkO4sur8r9OhF4jh+9ff9aTKTxBQlcWh63UgTDe6hEuOoz2ZNTc9QcRiTHpT0bDKpcwPQqo9D4uNVVurU0XvUKe6ObzkG4dFlU9TSolZ1kuLy7FXrZuu8izSfzJdTO1OLtiwKldqqpURJds+460qwEZf5CoJXZRseiczYLe90zTO+D6Ntxm3t/efUCSx6bQuO3lMUTnCPHHdkApbnUtCG6OkU+qwChK+bwcwHc2n4qnRnqmPprs3VMG+mXtxNG3BdoMYQLu+xf/6S+hGPApJAZQLj69Pq6nQd6oVaq+wIDAQAB";
	// 支付宝公钥
	public static String ZHIFUBAO_PUBLIC_KEY = "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAjv5SQ+BbXPvjj01Mo4MHlFby686uTZ8BtnqdYUmZWGngpCChThA2elhzVFuOw16P4DdxL0CEbXDzgL0PHFOhnvqkmqc8lJEnZpR+864dmZspCqRNMEsWgSUeApU86pQms0zDhgI5p439eSgT6hfdr6SRLtulREpKhhfQgVbMtQ7QPhpBt7oN/k1G7cuyarfG34+wZ5BMEOHf7M7JpWJdaTSxM4pj9HsST5A+1wHl5D64O7tCZemfVWlicyfiXbxg0Gdfe75kwTvNpZowyZekTMzUzwmY2C73oIe3OCTluXwZGm9/2a0Qlm8ilGu6ckTtcrHoofkjLvQrUkMFMpgrMwIDAQAB";
	// RSA2
	public static String SIGNTYPE = "RSA2";
}
